<include file="public@header" />
</head>
<body>
	<div class="wrap  js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >直播截图列表</a></li>

		</ul>
		<form class="well form-inline margin-top-20" method="post" action="{:url('Reflect/screenshot')}">
			直播间流名： 
            <input class="form-control" type="text" name="stream_id" style="width: 200px;" value="{:input('request.stream_id')}"
                   placeholder="请输入直播间流名">
			<input type="submit" class="btn btn-primary" value="搜索">
		</form>				
		<form class="js-ajax-form" action="" method="post">
			<div class="table-actions">
				<button class="btn btn-danger btn-small js-ajax-submit" type="submit" data-action="{:url('Reflect/screenshot_deletes')}" data-subcheck="true" data-msg="您确定删除吗？">{:lang('DELETE')}</button>
			</div>
		
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
						<th>ID</th>
						<th>直播间流名</th>						
						<th>图片</th>
						<th>截图名称</th>
						<th>图片链接</th>
						<th>截图创建时间</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="lists" item="vo">
					<tr>
						<td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}" title="ID:{$vo.id}"></td>
						<td>{$vo.id}</td>
						<td>{$vo['stream_id']}</td>
						<td><img src="{$vo['pic_full_url']}" style="width: 120px;" /></td>
						<td>{$vo['pic_url']}</td>
						<td>{$vo['pic_full_url']}</td>
						<td>{:date('Y-m-d H:i:s',$vo['create_time'])}</td>

					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>

		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>